package com.jrzh.db.migration.sys;

import com.jrzh.framework.migration.BaseMigration;
import com.jrzh.framework.migration.MigrationHelper;

public class Migration_24 extends BaseMigration{

	private static final String TABLE_NAME = "sys_manege_info";
	
	@Override
	public void down() {
		MigrationHelper.dropTable(TABLE_NAME);
	}

	@Override
	public void up() {
		log.info("##########执行Sys模块 Migration_24##########Begin");
		table(TABLE_NAME, "系统消息通道表", true, 
				pk(),
				jrVarchar("_sys_code", "系统编号", 64),
				jrVarchar("_sys_owner", "系统使用用户", 64),
				jrVarchar("_sys_name", "系统名称", 64)
				
		);
		log.info("##########执行Sys模块 Migration_24##########End");
	}

}
